package com.hugy.test.service;

import com.hugy.test.model.TestUser;
import com.hugy.test.model.UserDTO;

import java.util.List;

public interface MongoDBTestService {
    void addMongoDB(UserDTO user);
    void addMongoDB(TestUser user);

    void deleteMongoDB(String userName);

    void updateMongoDB(TestUser user);

    void updateManyMongoDB(TestUser user);

    TestUser getOneMongoDB(String userName);

    List<TestUser> getAllMongoDB();

    List<TestUser> getFuzzyMongoDB(String userName);

    List<UserDTO> getpageMongoDB();
}
